package com.csbr.prod.Dao;

import com.csbr.prod.Pojo.AdminEntity;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Component;


@Component
public interface AdminDao extends CrudRepository<AdminEntity,Integer> {
    Object findById(Integer integer);
    Object findByAdnameAndPassword(String name,String pass); 
}
